Part Number Hot Search : 
2864B SSTD89A 250020 GFMB1 ALVCH IRF3703 C3052 TMH0512D
Product Description
Full Text Search
 

To Download SC16C652 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  SC16C652 dual uart with 32 bytes of transmit and receive fifos rev. 04 20 june 2003 product data 1. description the SC16C652 is a 2 channel universal asynchronous receiver and transmitter (uart) used for serial data communications. its principal function is to convert parallel data into serial data and vice versa. the uart can handle serial data rates up to 5 mbits/s. the SC16C652 is pin compatible with the sc16c2550. it will power-up to be functionally equivalent to the 16c2450. the SC16C652 provides enhanced uart functions with 32-byte fifos, modem control interface, dma mode data transfer. the dma mode data transfer is controlled by the fifo trigger levels and the txrd y and rxrd y signals. on-board status registers provide the user with error indications and operational status. system interrupts and modem control features may be tailored by software to meet speci?c user requirements. an internal loop-back capability allows on-board diagnostics. independent programmable baud rate generators are provided to select transmit and receive baud rates. the SC16C652 operates at 5 v, 3.3 v and 2.5 v and the industrial temperature range, and is available in a plastic lqfp48 package. 2. features n 2 channel uart n 5 v, 3.3 v and 2.5 v operation n industrial temperature range n pin and functionally compatible to 16c2450 and software compatible with sc16c650 n up to 5 mbits/s data rate at 5 v and 3.3 v, and 3 mbit/s at 2.5 v n 32-byte transmit fifo to reduce the bandwidth requirement of the external cpu n 32-byte receive fifo with error ?ags to reduce the bandwidth requirement of the external cpu n independent transmit and receive uart control n four selectable receive and transmit fifo interrupt trigger levels n automatic software/hardware ?ow control n programmable xon/xoff characters n software selectable baud rate generator n sleep mode n standard asynchronous error and framing bits (start, stop, and parity overrun break) n transmit, receive, line status, and data set interrupts independently controlled
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 2 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. n fully programmable character formatting: u 5-, 6-, 7-, or 8-bit characters u even-, odd-, or no-parity formats u 1-, 1 1 2 -, or 2-stop bit u baud generation (dc to 5 mbit/s) n false start-bit detection n complete status reporting capabilities n 3-state output ttl drive capabilities for bi-directional data bus and control bus n line break generation and detection n internal diagnostic capabilities: u loop-back controls for communications link fault isolation n prioritized interrupt system controls n modem control functions ( cts, r ts, dsr, dtr, ri, cd). 3. ordering information table 1: ordering information type number package name description version SC16C652ib48 lqfp48 plastic low pro?le quad ?at package; 48 leads; body 7 7 1.4 mm sot313-2
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 3 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 4. block diagram fig 1. SC16C652 block diagram. transmit fifo register txa, txb receive shift register receive fifo register rxa, rxb interconnect bus lines and control signals SC16C652 transmit shift register modem control logic dtra , dtrb rtsa , rtsb op2a , op2b clock and baud rate generator ctsa , ctsb ria , rib cda , cdb dsra , dsrb xtal2 xtal1 data b u s and control logic d0Cd7 ior iow reset a0Ca2 csa csb register select logic inta, intb txrdya , txrdyb rxrdya , rxrdyb interrupt control logic 002aaa348
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 4 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 5. pinning information 5.1 pinning 5.2 pin description fig 2. lqfp48 pin con?guration. SC16C652ib48 002aaa349 1 2 3 4 5 6 7 8 9 10 11 12 36 35 34 33 32 31 30 29 28 27 26 25 13 14 15 16 17 18 19 20 21 22 23 24 48 47 46 45 44 43 42 41 40 39 38 37 d4 d3 d2 d1 d0 txrdya v cc ria cda dsra ctsa n.c. xtal1 xtal2 iow cdb gnd rxrdyb ior dsrb rib rtsb ctsb n.c. d5 d6 d7 rxb rxa txrdyb txa txb op2b csa csb n.c. reset dtrb dtra rtsa op2a rxrdya inta intb a0 a1 a2 n.c. table 2: pin description symbol pin type description lqfp48 a0 28 i address 0 select bit. internal register address selection. a1 27 i address 1 select bit. internal register address selection. a2 26 i address 2 select bit. internal register address selection. csa, csb 10, 11 i chip select a, b (active-low). this function is associated with individual channels, a through b. these pins enable data transfers between the user cpu and the SC16C652 for the channel(s) addressed. individual uart sections (a, b) are addressed by providing a logic 0 on the respective csa, csb pin. d0-d7 44-48, 1-3 i/o data bus (bi-directional). these pins are the 8-bit, 3-state data bus for transferring information to or from the controlling cpu. d0 is the least signi?cant bit and the ?rst data bit in a transmit or receive serial data stream. gnd 17 i signal and power ground.
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 5 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. inta, intb 30, 29 o interrupt a, b (3-state). this function is associated with individual channel interrupts, inta, intb. inta, intb are enabled when mcr bit 3 is set to a logic 1, interrupts are enabled in the interrupt enable register (ier), and is active when an interrupt condition exists. interrupt conditions include: receiver errors, available receiver buffer data, transmit buffer empty, or when a modem status ?ag is detected. ior 19 i read strobe (active-low strobe). a logic 0 transition on this pin will load the contents of an internal register de?ned by address bits a0-a2 onto the SC16C652 data bus (d0-d7) for access by external cpu. io w15i write strobe (active-low strobe). a logic 0 transition on this pin will transfer the contents of the data bus (d0-d7) from the external cpu to an internal register that is de?ned by address bits a0-a2. op2a, op2b 32, 9 o output 2 (user-de?ned). this function is associated with individual channels, a through b. the state at these pin(s) are de?ned by the user and through mcr register bit 3. inta, intb are set to the active mode and op2 to logic 0 when mcr[3] is set to a logic 1. inta, intb are set to the 3-state mode and op2 to a logic 1 when mcr[3] is set to a logic 0. see bit 3, modem control register (mcr[3]). since these bits control both the inta, intb operation and op2 outputs, only one function should be used at one time, int or op2. reset 36 i reset (active-high). a logic 1 on this pin will reset the internal registers and all the outputs. the uart transmitter output and the receiver input will be disabled during reset time. (see section 7.11 SC16C652 external reset condition for initialization details.) rxrd y a, rxrd yb 31, 18 o receive ready a, b (active-low). this function provides the rx fifo/rhr status for individual receive channels (a-b). rxrd yn is primarily intended for monitoring dma mode 1 transfers for the receive data fifos. a logic 0 indicates there is a receive data to read/upload, i.e., receive ready status with one or more rx characters available in the fifo/rhr. this pin is a logic 1 when the fifo/rhr is empty or when the programmed trigger level has not been reached. this signal can also be used for single mode transfers (dma mode 0). txrd y a, txrd yb 43, 6 o transmit ready a, b (active-low). these outputs provide the tx fifo/thr status for individual transmit channels (a-b). txrd yn is primarily intended for monitoring dma mode 1 transfers for the transmit data fifos. an individual channels txrd y a, txrd yb buffer ready status is indicated by logic 0, i.e., at lease one location is empty and available in the fifo or thr. this pin goes to a logic 1 (dma mode 1) when there are no more empty locations in the fifo or thr. this signal can also be used for single mode transfers (dma mode 0). v cc 42 i power supply input. xtal1 13 i crystal or external clock input. functions as a crystal input or as an external clock input. a crystal can be connected between this pin and xtal2 to form an internal oscillator circuit. this con?guration requires an external 1 m w resistor between the xtal1 and xtal2 pins. alternatively, an external clock can be connected to this pin to provide custom data rates. (see section 6.8 programmable baud rate generator .) see figure 3 . xtal2 14 o output of the crystal oscillator or buffered clock. (see also xtal1.) crystal oscillator output or buffered clock output. should be left open if an external clock is connected to xtal1. for extended frequency operation, this pin should be tied to v cc via a 2 k w resistor. cd a, cdb 40, 16 i carrier detect (active-low). these inputs are associated with individual uart channels a through b. a logic 0 on this pin indicates that a carrier has been detected by the modem for that channel. table 2: pin description continued symbol pin type description lqfp48
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 6 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. ctsa, ctsb 38, 23 i clear to send (active-low). these inputs are associated with individual uart channels, a through b. a logic 0 on the cts pin indicates the modem or data set is ready to accept transmit data from the SC16C652. status can be tested by reading msr[4]. this pin has no effect on the uarts transmit or receive operation. dsra, dsrb 39, 20 i data set ready (active-low). these inputs are associated with individual uart channels, a through b. a logic 0 on this pin indicates the modem or data set is powered-on and is ready for data exchange with the uart. this pin has no effect on the uarts transmit or receive operation. dtra, dtrb 34, 35 o data terminal ready (active-low). these outputs are associated with individual uart channels, a through b. a logic 0 on this pin indicates that the SC16C652 is powered-on and ready. this pin can be controlled via the modem control register. writing a logic 1 to mcr[0] will set the dtr output to logic 0, enabling the modem. this pin will be a logic 1 after writing a logic 0 to mcr[0], or after a reset. this pin has no effect on the uarts transmit or receive operation. ria, rib 41, 21 i ring indicator (active-low). these inputs are associated with individual uart channels, a through b. a logic 0 on this pin indicates the modem has received a ringing signal from the telephone line. a logic 1 transition on this input pin will generate an interrupt. r tsa, r tsb 33, 22 o request to send (active-low). these outputs are associated with individual uart channels, a through b. a logic 0 on the r ts pin indicates the transmitter has data ready and waiting to send. writing a logic 1 in the modem control register mcr[1] will set this pin to a logic 0, indicating data is available. after a reset this pin will be set to a logic 1. this pin has no effect on the uarts transmit or receive operation. rxa, rxb 5, 4 i receive data a, b. these inputs are associated with individual serial channel data to the SC16C652 receive input circuits, a-b. the rx signal will be a logic 1 during reset, idle (no data), or when the transmitter is disabled. during the local loop-back mode, the rx input pin is disabled and tx data is connected to the uart rx input, internally. txa, txb 7, 8 o transmit data a, b. these outputs are associated with individual serial transmit channel data from the SC16C652. the tx signal will be a logic 1 during reset, idle (no data), or when the transmitter is disabled. during the local loop-back mode, the tx output pin is disabled and tx data is internally connected to the uart rx input. table 2: pin description continued symbol pin type description lqfp48
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 7 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 6. functional description the SC16C652 provides serial asynchronous receive data synchronization, parallel-to-serial and serial-to-parallel data conversions for both the transmitter and receiver sections. these functions are necessary for converting the serial data stream into parallel data that is required with digital data systems. synchronization for the serial data stream is accomplished by adding start and stop bits to the transmit data to form a data character (character orientated protocol). data integrity is insured by attaching a parity bit to the data character. the parity bit is checked by the receiver for any transmission bit errors. the electronic circuitry to provide all these functions is fairly complex, especially when manufactured on a single integrated silicon chip. the SC16C652 represents such an integration with greatly enhanced features. the SC16C652 is fabricated with an advanced cmos process. the SC16C652 is an upward solution that provides a dual uart capability with 32 bytes of transmit and receive fifo memory, instead of 16 bytes for the 16c2550 and none in the 16c2450. the SC16C652 is designed to work with high speed modems and shared network environments that require fast data processing time. increased performance is realized in the SC16C652 by the transmit and receive fifos. this allows the external processor to handle more networking tasks within a given time. in addition, the four selectable receive and transmit fifo trigger interrupt levels are uniquely provided for maximum data throughput performance especially when operating in a multi-channel environment. the fifo memory greatly reduces the bandwidth requirement of the external controlling cpu, increases performance, and reduces power consumption. the SC16C652 is capable of operation up to 5 mbits/s with a 24 mhz clock. with a crystal or external clock input of 7.3728 mhz, the user can select data rates up to 460.8 kbits/s. the rich feature set of the SC16C652 is available through internal registers. selectable receive and transmit fifo trigger levels, selectable tx and rx baud rates, and modem interface controls are all standard features. following a power-on reset or an external reset, the SC16C652 is software compatible with the previous generation, sc16c2550 and st16c2450. 6.1 uart a-b functions the uart provides the user with the capability to bi-directionally transfer information between an external cpu, the SC16C652 package, and an external serial device. a logic 0 on chip select pins csa and/or csb allows the user to con?gure, send data, and/or receive data via uart channels a-b. individual channel select functions are shown in ta b l e 3 . table 3: serial port selection chip select function csa- csb = 1 none csa = 0 uart channel a csb = 0 uart channel b
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 8 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 6.2 internal registers the SC16C652 provides two sets of internal registers (a and b) consisting of 12 registers each for monitoring and controlling the functions of each channel of the uart. these registers are shown in ta b l e 4 . the uart registers function as data holding registers (thr/rhr), interrupt status and control registers (ier/isr), a fifo control register (fcr), line status and control registers (lcr/lsr), modem status and control registers (mcr/msr), programmable data rate (clock) control registers (dll/dlm), and a user accessible scratchpad register (spr). [1] these registers are accessible only when lcr[7] is a logic 0. [2] these registers are accessible only when lcr[7] is a logic 1. [3] enhanced feature register, xon1, 2 and xoff1, 2 are accessible only when the lcr is set to bf(hex). 6.3 fifo operation the 32-byte transmit and receive data fifos are enabled by the fifo control register bit-0 (fcr[0]). with 16c2550 devices, the user can set the receive trigger level, but not the transmit trigger level. the SC16C652 provides independent trigger levels for both receiver and transmitter. to remain compatible with sc16c2550, the transmit interrupt trigger level is set to 16 following a reset. it should be noted that the user can set the transmit trigger levels by writing to the fcr register, but activation will not take place until efr[4] is set to a logic 1. the receiver fifo section includes a time-out function to ensure data is delivered to the external cpu. an interrupt is generated whenever the receive holding register (rhr) has not been read following the loading of a character or the receive trigger level has not been reached. table 4: internal registers decoding a2 a1 a0 read mode write mode general register set (thr/rhr, ier/isr, mcr/msr, fcr, lsr, spr) [1] 0 0 0 receive holding register transmit holding register 0 0 1 interrupt enable register 0 1 0 interrupt status register fifo control register 0 1 1 line control register 1 0 0 modem control register 1 0 1 line status register n/a 1 1 0 modem status register n/a 1 1 1 scratchpad register scratchpad register baud rate register set (dll/dlm) [2] 0 0 0 lsb of divisor latch lsb of divisor latch 0 0 1 msb of divisor latch msb of divisor latch enhanced register set (efr, xon/off 1-2) [3] 0 1 0 enhanced feature register enhanced feature register 1 0 0 xon1 word xon1 word 1 0 1 xon2 word xon2 word 1 1 0 xoff1 word xoff1 word 1 1 1 xoff2 word xoff2 word
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 9 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 6.4 hardware ?ow control when automatic hardware ?ow control is enabled, the SC16C652 monitors the cts pin for a remote buffer over?ow indication and controls the r ts pin for local buffer over?ows. automatic hardware ?ow control is selected by setting efr[6] (rts) and efr[7] (cts) to a logic 1. if cts transitions from a logic 0 to a logic 1 indicating a ?ow control request, isr[5] will be set to a logic 1 (if enabled via ier[6,7]), and the SC16C652 will suspend tx transmissions as soon as the stop bit of the character in process is shifted out. transmission is resumed after the cts input returns to a logic 0, indicating more data may be sent. with the auto-rts function enabled, an interrupt is generated when the receive fifo reaches the programmed trigger level. the r ts pin will not be forced to a logic 1 (rts off), until the receive fifo reaches the next trigger level. however, the r ts pin will return to a logic 0 after the data buffer (fifo) is unloaded to the next trigger level below the programmed trigger level. however, under the above described conditions, the SC16C652 will continue to accept data until the receive fifo is full. 6.5 software ?ow control when software ?ow control is enabled, the SC16C652 compares one or two sequential receive data characters with the programmed xon or xoff character value(s). if received character(s) match the programmed xoff values, the SC16C652 will halt transmission (tx) as soon as the current character(s) has completed transmission. when a match occurs, the receive ready (if enabled via xoff ier[5]) ?ags will be set and the interrupt output pin (if receive interrupt is enabled) will be activated. following a suspension due to a match of the xoff characters values, the SC16C652 will monitor the receive data stream for a match to the xon1,2 character value(s). if a match is found, the SC16C652 will resume operation and clear the ?ags (isr[4]). reset initially sets the contents of the xon/xoff 8-bit ?ow control registers to a logic 0. following reset, the user can write any xon/xoff value desired for software ?ow control. different conditions can be set to detect xon/xoff characters and suspend/resume transmissions. when double 8-bit xon/xoff characters are selected, the SC16C652 compares two consecutive receive characters with two software ?ow control 8-bit values (xon1, xon2, xoff1, xoff2) and controls tx transmissions accordingly. under the above described ?ow control mechanisms, ?ow control characters are not placed (stacked) in the user accessible rx data buffer or fifo. when using a software ?ow control the xon/xoff characters cannot be used for data transfer. table 5: flow control mechanism selected trigger level (characters) int pin activation negate r ts or send xoff assert r ts or send xon 8 8 16 0 16 16 24 7 24 24 28 15 28 28 28 23
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 10 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. in the event that the receive buffer is over?lling and ?ow control needs to be executed, the SC16C652 automatically sends an xoff message (when enabled) via the serial tx output to the remote modem. the SC16C652 sends the xoff1,2 characters as soon as received data passes the programmed trigger level. to clear this condition, the SC16C652 will transmit the programmed xon1,2 characters as soon as receive data drops below the programmed trigger level. 6.6 special feature software ?ow control a special feature is provided to detect an 8-bit character when efr[5] is set. when 8-bit character is detected, it will be placed on the user-accessible data stack along with normal incoming rx data. this condition is selected in conjunction with efr[0-3]. note that software ?ow control should be turned off when using this special mode by setting efr[0-3] to a logic 0. the SC16C652 compares each incoming receive character with xoff2 data. if a match exists, the received data will be transferred to the fifo, and isr[4] will be set to indicate detection of a special character. although the internal register table ( ta b l e 9 ) shows each x-register with eight bits of character information, the actual number of bits is dependent on the programmed word length. line control register bits lcr[0-1] de?ne the number of character bits, i.e., either 5 bits, 6 bits, 7 bits or 8 bits. the word length selected by lcr[0-1] also determine the number of bits that will be used for the special character comparison. bit 0 in the x-registers corresponds with the lsb bit for the receive character. 6.7 hardware/software and time-out interrupts the interrupts are enabled by ier[0-3]. care must be taken when handling these interrupts. following a reset, if interrupt enable register (ier) bit 1 = 1, the SC16C652 will issue a transmit holding register interrupt. this interrupt must be serviced prior to continuing operations. the lsr register provides the current singular highest priority interrupt only. it could be noted that cts and rts interrupts have lowest interrupt priority. a condition can exist where a higher priority interrupt may mask the lower priority cts/rts interrupt(s). only after servicing the higher pending interrupt will the lower priority cts/rts interrupt(s) be re?ected in the status register. servicing the interrupt without investigating further interrupt conditions can result in data errors. when two interrupt conditions have the same priority, it is important to service these interrupts correctly. receive data ready and receive time out have the same interrupt priority (when enabled by ier[3]). the receiver issues an interrupt after the number of characters have reached the programmed trigger level. in this case, the SC16C652 fifo may hold more characters than the programmed trigger level. following the removal of a data byte, the user should re-check lsr[0] for additional characters. a receive time out will not occur if the receive fifo is empty. the time-out counter is reset at the center of each stop bit received or each time the receive holding register (rhr) is read. the actual time-out value is 4 character time, including data information length, start bit, parity bit, and the size of stop bit, i.e., 1 , 1.5 , or 2 bit times.
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 11 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 6.8 programmable baud rate generator the SC16C652 supports high speed modem technologies that have increased input data rates by employing data compression schemes. for example, a 33.6 kbit/s modem that employs data compression may require a 115.2 kbit/s input data rate. a 128.0 kbit/s isdn modem that supports data compression may need an input data rate of 460.8 kbit/s. the SC16C652 can support a standard data rate of 921.6 kbit/s. a single baud rate generator is provided for the transmitter and receiver, allowing independent tx/rx channel control. the programmable baud rate generator is capable of operating with a frequency of up to 80 mhz. to obtain maximum data rate, it is necessary to use full rail swing on the clock input. the SC16C652 can be con?gured for internal or external clock operation. for internal clock oscillator operation, an industry standard microprocessor crystal is connected externally between the xtal1 and xtal2 pins. alternatively, an external clock can be connected to the xtal1 pin to clock the internal baud rate generator for standard or custom rates (see ta b l e 6 ). the generator divides the input 16 clock by any divisor from 1 to 2 16 - 1. the SC16C652 divides the basic external clock by 16. the basic 16 clock provides table rates to support standard and custom applications using the same system design. the rate table is con?gured via the dll and dlm internal register functions. customized baud rates can be achieved by selecting the proper divisor values for the msb and lsb sections of baud rate generator. programming the baud rate generator registers dlm (msb) and dll (lsb) provides a user capability for selecting the desired ?nal baud rate. the example in ta b l e 6 shows the selectable baud rate table available when using a 1.8432 mhz external clock input. fig 3. crystal oscillator connection. 002aaa169 x1 1.8432 mhz c1 22 pf c2 47 pf xtal1 xtal2 x1 1.8432 mhz c1 47 pf c2 100 pf xtal1 xtal2 1.5 k w
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 12 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 6.9 dma operation the SC16C652 fifo trigger level provides additional ?exibility to the user for block mode operation. the user can optionally operate the transmit and receive fifos in the dma mode (fcr[3]). the dma mode affects the state of the rxrd y and txrd y output pins. tables 7 and 8 show this. 6.10 loop-back mode the internal loop-back capability allows on-board diagnostics. in the loop-back mode, the normal modem interface pins are disconnected and recon?gured for loop-back internally (see figure 4 ). mcr[0-3] register bits are used for controlling loop-back diagnostic testing. in the loop-back mode, the transmitter output (tx) and the receiver input (rx) are disconnected from their associated interface pins, and instead are connected together internally. the cts, dsr, cd, and ri are disconnected from table 6: baud rate generator programming table using a 1.8432 mhz clock output baud rate output 16 clock divisor (decimal) output 16 clock divisor (hex) dlm program value (hex) dll program value (hex) 50 2304 900 09 00 75 1536 600 06 00 110 1047 417 04 17 150 768 300 03 00 300 384 180 01 80 600 192 c0 00 c0 1200 96 60 00 60 2400 48 30 00 30 3600 32 20 00 20 4800 24 18 00 18 7200 16 10 00 10 9600 12 0c 00 0c 19.2 k 6 06 00 06 38.4 k 3 03 00 03 57.6 k 2 02 00 02 115.2 k 1 01 00 01 table 7: effect of dma mode on state of rxrd y pin non-dma mode dma mode 1 = fifo empty 0-to-1 transition when fifo empties 0 = at least 1 byte in fifo 1-to-0 transition when fifo reaches trigger level, or time-out occurs table 8: effect of dma mode on state of txrd y pin non-dma mode dma mode 1 = at least 1 byte in fifo 0-to-1 transition when fifo becomes full 0 = fifo empty 1-to-0 transition when fifo goes below trigger level
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 13 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. their normal modem control inputs pins, and instead are connected internally to r ts, dtr, mcr[3] ( op2) and mcr[2] ( op1). loop-back test data is entered into the transmit holding register via the user data bus interface, d0-d7. the transmit uart serializes the data and passes the serial data to the receive uart via the internal loop-back connection. the receive uart converts the serial data back into parallel data that is then made available at the user data interface d0-d7. the user optionally compares the received data to the initial transmitted data for verifying error-free operation of the uart tx/rx circuits. in this mode, the receiver and transmitter interrupts are fully operational. the modem control interrupts are also operational. fig 4. internal loop-back mode diagram. transmit fifo register txa, txb receive shift register receive fifo register rxa, rxb interconnect bus lines and control signals SC16C652 transmit shift register modem control logic clock and baud rate generator xtal2 xtal1 data b u s and control logic d0Cd7 ior iow reset a0Ca2 csa , csb register select logic inta, intb txrdya , txrdyb rxrdya , rxrdyb interrupt control logic 002aaa350 mcr[4] = 1 ctsa , ctsb rtsa , rtsb dsra , dsrb dtra , dtrb ria , rib (op1a , op1b ) cda , cdb (op2a , op2b )
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 14 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 7. register descriptions ta b l e 9 details the assigned bit functions for the SC16C652 internal registers. the assigned bit functions are more fully de?ned in section 7.1 through section 7.11 . [1] the value shown in represents the registers initialized hex value; x = n/a. [2] accessible only when lcr[7] is logic 0. [3] baud rate registers accessible only when lcr[7] is logic 1. [4] enhanced feature register, xon-1,2 and xoff-1,2 are accessible only when lcr is set to bf hex . table 9: SC16C652 internal registers shaded bits are only accessible when efr[4] is set. a2 a1 a0 register default [1] bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 general register set [2] 0 0 0 rhr xx bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 0 thr xx bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 1 ier 00 cts interrupt rts interrupt xoff interrupt sleep mode modem status interrupt rx receive line status interrupt transmit holding register interrupt receive holding register 0 1 0 fcr 00 rcvr trigger (msb) rcvr trigger (lsb) tx trigger (msb) tx trigger (lsb) dma mode select xmit fifo reset rcvr fifo reset fifos enable 0 1 0 isr 01 fifos enabled fifos enabled int priority bit 4 int priority bit 3 int priority bit 2 int priority bit 1 int priority bit 0 int status 0 1 1 lcr 00 divisor latch enable set break set parity even parity parity enable stop bits word length bit 1 word length bit 0 1 0 0 mcr 00 clock select 0 0 loop back op2/int enable ( op1) r ts dtr 1 0 1 lsr 60 fifo data error thr and tsr empty thr empty break interrupt framing error parity error overrun error receive data ready 1 1 0 msr x0 cd ri dsr cts d cd d ri d dsr d cts 1 1 1 spr ff bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 special register set [3] 0 0 0 dll xx bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 1 dlm xx bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 enhanced register set [4] 0 1 0 efr 00 auto cts auto rts special char. select enable ier[4-7], isr[4,5], fcr[4,5], mcr[5-7] cont-3 tx, rx control cont-2 tx, rx control cont-1 tx, rx control cont-0 tx, rx control 1 0 0 xon-1 00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 1 0 1 xon-2 00 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 1 1 0 xoff-1 00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 1 1 1 xoff-2 00 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 15 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 7.1 transmit (thr) and receive (rhr) holding registers the serial transmitter section consists of an 8-bit transmit hold register (thr) and transmit shift register (tsr). the status of the thr is provided in the line status register (lsr). writing to the thr transfers the contents of the data bus (d7-d0) to the tsr and uart via the thr, providing that the thr is empty. the thr empty ?ag in the lsr register will be set to a logic 1 when the transmitter is empty or when data is transferred to the tsr. note that a write operation can be performed when the thr empty ?ag is set (logi c 0 = at least one byte in fifo/thr, logic 1 = fifo/thr empty). the serial receive section also contains an 8-bit receive holding register (rhr) and a receive serial shift register (rsr). receive data is removed from the SC16C652 and receive fifo by reading the rhr register. the receive section provides a mechanism to prevent false starts. on the falling edge of a start or false start bit, an internal receiver counter starts counting clocks at the 16 clock rate. after 7- 1 2 clocks, the start bit time should be shifted to the center of the start bit. at this time the start bit is sampled, and if it is still a logic 0 it is validated. evaluating the start bit in this manner prevents the receiver from assembling a false character. receiver status codes will be posted in the lsr. 7.2 interrupt enable register (ier) the interrupt enable register (ier) masks the interrupts from receiver ready, transmitter empty, line status and modem status registers. these interrupts would normally be seen on the inta, intb output pins. table 10: interrupt enable register bits description bit symbol description 7 ier[7] cts interrupt. logi c 0 = disable the cts interrupt (normal default condition). logi c 1 = enable the cts interrupt. the SC16C652 issues an interrupt when the cts pin transitions from a logic 0 to a logic 1. 6 ier[6] rts interrupt. logi c 0 = disable the rts interrupt (normal default condition). logi c 1 = enable the rts interrupt. the SC16C652 issues an interrupt when the rts pin transitions from a logic 0 to a logic 1. 5 ier[5] xoff interrupt. logi c 0 = disable the software ?ow control, receive xoff interrupt (normal default condition). logi c 1 = enable the software ?ow control, receive xoff interrupt. 4 ier[4] sleep mode. logi c 0 = disable sleep mode (normal default condition). logi c 1 = enable sleep mode. 3 ier[3] modem status interrupt. this interrupt will be issued whenever there is a modem status change as re?ected in msr[0-3]. logi c 0 = disable the modem status register interrupt (normal default condition). logi c 1 = enable the modem status register interrupt.
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 16 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 7.2.1 ier versus transmit/receive fifo interrupt mode operation when the receive fifo (fcr[0] = logic 1), and receive interrupts (ier[0] = logic 1) are enabled, the receive interrupts and register status will re?ect the following: ? the receive rxrdy interrupt (level 2 isr interrupt) is issued to the external cpu when the receive fifo has reached the programmed trigger level. it will be cleared when the receive fifo drops below the programmed trigger level. ? receive fifo status will also be re?ected in the user accessible isr register when the receive fifo trigger level is reached. both the isr register receive status bit and the interrupt will be cleared when the fifo drops below the trigger level. ? the receive data ready bit (lsr[0]) is set as soon as a character is transferred from the shift register (rsr) to the receive fifo. it is reset when the fifo is empty. ? when the transmit fifo and interrupts are enabled, an interrupt is generated when the transmit fifo is empty due to the unloading of the data by the tsr and uart for transmission via the transmission media. the interrupt is cleared either by reading the isr register, or by loading the thr with new data characters. 2 ier[2] receive line status interrupt. this interrupt will be issued whenever a receive data error condition exists as re?ected in lsr[1-4]. logi c 0 = disable the receiver line status interrupt (normal default condition). logi c 1 = enable the receiver line status interrupt. 1 ier[1] transmit holding register interrupt. in the 16c450 mode, this interrupt will be issued whenever the thr is empty, and is associated with lsr[5]. in the fifo modes, this interrupt will be issued whenever the fifo is empty. logi c 0 = disable the transmit holding register empty (txrdy) interrupt (normal default condition). logi c 1 = enable the txrdy (isr level 3) interrupt. 0 ier[0] receive holding register. in the 16c450 mode, this interrupt will be issued when the rhr has data, or is cleared when the rhr is empty. in the fifo mode, this interrupt will be issued when the fifo has reached the programmed trigger level or is cleared when the fifo drops below the trigger level. logi c 0 = disable the receiver ready (isr level 2, rxrdy) interrupt (normal default condition). logi c 1 = enable the rxrdy (isr level 2) interrupt. table 10: interrupt enable register bits description continued bit symbol description
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 17 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 7.2.2 ier versus receive/transmit fifo polled mode operation when fcr[0] = logic 1, resetting ier[0-3] enables the SC16C652 in the fifo polled mode of operation. in this mode, interrupts are not generated and the user must poll the lsr register for tx and/or rx data status. since the receiver and transmitter have separate bits in the lsr either or both can be used in the polled mode by selecting respective transmit or receive control bit(s). ? lsr[0] will be a logic 1 as long as there is one byte in the receive fifo. ? lsr[1-4] will provide the type of receive errors, or a receive break, if encountered. ? lsr[5] will indicate when the transmit fifo is empty. ? lsr[6] will indicate when both the transmit fifo and transmit shift register are empty. ? lsr[7] will show if any fifo data errors occurred. 7.3 fifo control register (fcr) this register is used to enable the fifos, clear the fifos, set the receive fifo trigger levels, and select the dma mode. 7.3.1 dma mode mode 0 (fcr bit 3 = 0): set and enable the interrupt for each single transmit or receive operation, and is similar to the 16c450 mode. transmit ready ( txrd y) will go to a logic 0 whenever the fifo (thr, if fifo is not enabled) is empty. receive ready ( rxrd y) will go to a logic 0 whenever the receive holding register (rhr) is loaded with a character. mode 1 (fcr bit 3 = 1): set and enable the interrupt in a block mode operation. the transmit interrupt is set when the transmit fifo is below the programmed trigger level. the receive interrupt is set when the receive fifo ?lls to the programmed trigger level. however, the fifo continues to ?ll regardless of the programmed level until the fifo is full. rxrd y remains a logic 0 as long as the fifo ?ll level is above the programmed trigger level.
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 18 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 7.3.2 fifo mode table 11: fifo control register bits description bit symbol description 7-6 fcr[7] (msb), fcr[6] (lsb) rcvr trigger. these bits are used to set the trigger level for the receive fifo interrupt. an interrupt is generated when the number of characters in the fifo equals the programmed trigger level. however, the fifo will continue to be loaded until it is full. refer to ta b l e 1 2 . 5-4 fcr[5] (msb), fcr[4] (lsb) logic 0 or cleared is the default condition; tx trigger level = 16. these bits are used to set the trigger level for the transmit fifo interrupt. the SC16C652 will issue a transmit empty interrupt when the number of characters in fifo drops below the selected trigger level. refer to ta b l e 1 3 . 3 fcr[3] dma mode select. logi c 0 = set dma mode 0 (normal default condition). logi c 1 = set dma mode 1 transmit operation in mode 0: when the SC16C652 is in the 16c450 mode (fifos disabled; fcr[0] = logic 0) or in the fifo mode (fifos enabled; fcr[0] = logic 1; fcr[3] = logic 0), and when there are no characters in the transmit fifo or transmit holding register, the txrd y pin will be a logic 0. once active, the txrd y pin will go to a logic 1 after the ?rst character is loaded into the transmit holding register. receive operation in mode 0: when the SC16C652 is in 16c450 mode, or in the fifo mode (fcr[0] = logic 1; fcr[3] = logic 0) and there is at least one character in the receive fifo, the rxrd y pin will be a logic 0. once active, the rxrd y pin will go to a logic 1 when there are no more characters in the receiver. transmit operation in mode 1: when the SC16C652 is in fifo mode (fcr[0] = logic 1; fcr[3] = logic 1), the txrd y pin will be a logic 1 when the transmit fifo is completely full. it will be a logic 0 when the trigger level has been reached. receive operation in mode 1: when the SC16C652 is in fifo mode (fcr[0] = logic 1; fcr[3] = logic 1) and the trigger level has been reached, or a receive time-out has occurred, the rxrd y pin will go to a logic 0. once activated, it will go to a logic 1 after there are no more characters in the fifo. 2 fcr[2] xmit fifo reset. logi c 0 = no fifo transmit reset (normal default condition). logi c 1 = clears the contents of the transmit fifo and resets the fifo counter logic (the transmit shift register is not cleared or altered). this bit will return to a logic 0 after clearing the fifo.
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 19 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 1 fcr[1] rcvr fifo reset. logi c 0 = no fifo receive reset (normal default condition). logi c 1 = clears the contents of the receive fifo and resets the fifo counter logic (the receive shift register is not cleared or altered). this bit will return to a logic 0 after clearing the fifo. 0 fcr[0] fifo enable. logi c 0 = disable the transmit and receive fifo (normal default condition). logi c 1 = enable the transmit and receive fifo. this bit must be a 1 when other fcr bits are written to, or they will not be programmed. table 12: rcvr trigger levels fcr[7] fcr[6] rx fifo trigger level (bytes) 008 0116 1024 1128 table 13: tx fifo trigger levels fcr[5] fcr[4] tx fifo trigger level (bytes) 0016 018 1024 1130 table 11: fifo control register bits description continued bit symbol description
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 20 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 7.4 interrupt status register (isr) the SC16C652 provides six levels of prioritized interrupts to minimize external software interaction. the interrupt status register (isr) provides the user with four interrupt status bits. performing a read cycle on the isr will provide the user with the highest pending interrupt level to be serviced. no other interrupts are acknowledged until the pending interrupt is serviced. a lower level interrupt may be seen after servicing the higher level interrupt and re-reading the interrupt status bits. table 14 interrupt source shows the data values (bits 0-3) for the four prioritized interrupt levels and the interrupt sources associated with each of these interrupt levels. table 14: interrupt source priority level isr[5] isr[4] isr[3] isr[2] isr[1] isr[0] source of the interrupt 1 000110lsr (receiver line status register) 2 000100 rxrdy (received data ready) 2 001100 rxrdy (receive data time-out) 3 000010 txrdy (transmitter holding register empty) 4 000000 msr (modem status register) 5 010000 rxrdy (received xoff signal) / special character 6 100000cts, rts change of state table 15: interrupt status register bits description bit symbol description 7-6 isr[7-6] fifos enabled. these bits are set to a logic 0 when the fifos are not being used in the 16c450 mode. they are set to a logic 1 when the fifos are enabled in the SC16C652 mode. logic 0 or cleared = default condition. 5-4 isr[5-4] int priority bits 4-3. these bits are enabled when efr[4] is set to a logic 1. isr[4] indicates that matching xoff character(s) have been detected. isr[5] indicates that cts, rts have been generated. note that once set to a logic 1, the isr[4] bit will stay a logic 1 until xon character(s) are received. logic 0 or cleared = default condition. 3-1 isr[3-1] int priority bits 2-0. these bits indicate the source for a pending interrupt at interrupt priority levels 1, 2, and 3 (see ta b l e 1 4 ). logic 0 or cleared = default condition. 0 isr[0] int status. logi c 0 = an interrupt is pending and the isr contents may be used as a pointer to the appropriate interrupt service routine. logi c 1 = no interrupt pending (normal default condition).
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 21 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 7.5 line control register (lcr) the line control register is used to specify the asynchronous data communication format. the word length, the number of stop bits, and the parity are selected by writing the appropriate bits in this register. table 16: line control register bits description bit symbol description 7 lcr[7] divisor latch enable. the internal baud rate counter latch and enhance feature mode enable. logic 0 = divisor latch disabled (normal default condition). logi c 1 = divisor latch enabled. 6 lcr[6] set break. when enabled, the break control bit causes a break condition to be transmitted (the tx output is forced to a logic 0 state). this condition exists until disabled by setting lcr[6] to a logic 0. logi c 0 = no tx break condition (normal default condition) logi c1=f orces the transmitter output (tx) to a logic 0 for alerting the remote receiver to a line break condition. 5-3 lcr[5-3] programs the parity conditions (see ta b l e 1 7 ). 2 lcr[2] stop bits. the length of stop bit is speci?ed by this bit in conjunction with the programmed word length (see ta b l e 1 8 ). logic 0 or cleared = default condition. 1-0 lcr[1-0] word length bits 1, 0. these two bits specify the word length to be transmitted or received (see ta b l e 1 9 ). logic 0 or cleared = default condition. table 17: lcr[5-3] parity selection lcr[5] lcr[4] lcr[3] parity selection x x 0 no parity x 0 1 odd parity 0 1 1 even parity 001f orced parity 1 111f orced parity 0 table 18: lcr[2] stop bit length lcr[2] word length stop bit length (bit times) 0 5, 6, 7, 8 1 15 1- 1 2 1 6, 7, 8 2 table 19: lcr[1-0] word length lcr[1] lcr[0] word length 005 016 107 118
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 22 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 7.6 modem control register (mcr) this register controls the interface with the modem or a peripheral device. table 20: modem control register bits description bit symbol description 7 mcr[7] clock select logic 0 = divide by 1 clock input. logi c 1 = divide by 4 clock input. 6 mcr[6] reserved; set to 0. 5 mcr[5] reserved; set to 0. 4 mcr[4] loop-back. enable the local loop-back mode (diagnostics). in this mode the transmitter output ( tx) and the receiver input ( rx), cts, dsr, cd, and ri are disconnected from the SC16C652 i/o pins. internally the modem data and control pins are connected into a loop-back data con?guration (see figure 4 ). in this mode, the receiver and transmitter interrupts remain fully operational. the modem control interrupts are also operational, but the interrupts sources are switched to the lower four bits of the modem control. interrupts continue to be controlled by the ier register. logi c 0 = disable loop-back mode (normal default condition). logi c 1 = enable local loop-back mode (diagnostics). 3 mcr[3] op2/int enable logi c0=f orces int (a-b) outputs to the 3-state mode and sets op2 to a logic 1 (normal default condition). logi c1=f orces the int (a-b outputs to the active mode and sets op2 to a logic 0. 2 mcr[2] ( op1). op1a/ op1b are not available as an external signal in the SC16C652. this bit is instead used in the loop-back mode only. in the loop-back mode, this bit is used to write the state of the modem ri interface signal. 1 mcr[1] r ts logic 0 = force r ts output to a logic 1 (normal default condition). logi c1=f orce r ts output to a logic 0. 0 mcr[0] dtr logic 0 = force dtr output to a logic 1 (normal default condition). logi c1=f orce dtr output to a logic 0.
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 23 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 7.7 line status register (lsr) this register provides the status of data transfers between the SC16C652 and the cpu. table 21: line status register bits description bit symbol description 7 lsr[7] fifo data error. logi c 0 = no error (normal default condition). logi c 1 = at least one parity error, framing error or break indication is in the current fifo data. this bit is cleared when there are no remaining error ?ags associated with the remaining data in the fifo. 6 lsr[6] thr and tsr empty. this bit is the transmit empty indicator. this bit is set to a logic 1 whenever the transmit holding register and the transmit shift register are both empty. it is reset to logic 0 whenever either the thr or tsr contains a data character. in the fifo mode, this bit is set to 1 whenever the transmit fifo and transmit shift register are both empty. 5 lsr[5] thr empty. this bit is the transmit holding register empty indicator. this bit indicates that the uart is ready to accept a new character for transmission. in addition, this bit causes the uart to issue an interrupt to cpu when the thr interrupt enable is set. the thr bit is set to a logic 1 when a character is transferred from the transmit holding register into the transmitter shift register. the bit is reset to a logic 0 concurrently with the loading of the transmitter holding register by the cpu. in the fifo mode, this bit is set when the transmit fifo is empty; it is cleared when at least 1 byte is written to the transmit fifo. 4 lsr[4] break interrupt. logi c 0 = no break condition (normal default condition). logi c 1 = the receiver received a break signal (rx was a logic 0 for one character frame time). in the fifo mode, only one break character is loaded into the fifo. 3 lsr[3] framing error. logi c 0 = no framing error (normal default condition). logi c1=fr aming error. the receive character did not have a valid stop bit(s). in the fifo mode, this error is associated with the character at the top of the fifo. 2 lsr[2] parity error. logi c 0 = no parity error (normal default condition. logi c1=par ity error. the receive character does not have correct parity information and is suspect. in the fifo mode, this error is associated with the character at the top of the fifo.
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 24 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 7.8 modem status register (msr) this register provides the current state of the control interface signals from the modem, or other peripheral device to which the SC16C652 is connected. four bits of this register are used to indicate the changed information. these bits are set to a logic 1 whenever a control input from the modem changes state. these bits are set to a logic 0 whenever the cpu reads this register. 1 lsr[1] overrun error. logic 0 = no overrun error (normal default condition). logi c1=overrun error. a data overrun error occurred in the receive shift register. this happens when additional data arrives while the fifo is full. in this case, the previous data in the shift register is overwritten. note that under this condition, the data byte in the receive shift register is not transferred into the fifo, therefore the data in the fifo is not corrupted by the error. 0 lsr[0] receive data ready. logic 0 = no data in receive holding register or fifo (normal default condition). logi c 1 = data has been received and is saved in the receive holding register or fifo. table 21: line status register bits description continued bit symbol description table 22: modem status register bits description bit symbol description 7 msr[7] cd. during normal operation, this bit is the complement of the cd input. reading this bit in the loop-back mode produces the state of mcr[3] ( op2). 6 msr[6] ri. during normal operation, this bit is the complement of the ri input. reading this bit in the loop-back mode produces the state of mcr[2] ( op1). 5 msr[5] dsr. during normal operation, this bit is the complement of the dsr input. during the loop-back mode, this bit is equivalent to mcr[0] ( dtr). 4 msr[4] cts. during normal operation, this bit is the complement of the cts input. during the loop-back mode, this bit is equivalent to mcr[1] ( r ts). 3 msr[3] d cd [1] logic 0 = no cd change (normal default condition). logic 1 = the cd input to the SC16C652 has changed state since the last time it was read. a modem status interrupt will be generated. 2 msr[2] d ri [1] logic 0 = no ri change (normal default condition). logic 1 = the ri input to the SC16C652 has changed from a logic 0 to a logic 1. a modem status interrupt will be generated.
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 25 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. [1] whenever any msr bit 0-3 is set to logic 1, a modem status interrupt will be generated. 7.9 scratchpad register (spr) the SC16C652 provides a temporary data register to store 8 bits of user information. 7.10 enhanced feature register (efr) enhanced features are enabled or disabled using this register. bits 0 through 4 provide single or dual character software ?ow control selection. when the xon1 and xon2 and/or xoff1 and xoff2 modes are selected, the double 8-bit words are concatenated into two sequential numbers. 1 msr[1] d dsr [1] logic 0 = no dsr change (normal default condition). logi c1=the dsr input to the SC16C652 has changed state since the last time it was read. a modem status interrupt will be generated. 0 msr[0] d cts [1] logic 0 = no cts change (normal default condition). logi c1=the cts input to the SC16C652 has changed state since the last time it was read. a modem status interrupt will be generated. table 22: modem status register bits description continued bit symbol description table 23: enhanced feature register bits description bit symbol description 7 efr[7] automatic cts ?ow control. logi c0=a utomatic cts ?ow control is disabled (normal default condition). logi c 1 = enable automatic cts ?ow control. transmission will stop when cts goes to a logical 1. transmission will resume when the cts pin returns to a logical 0. 6 efr[6] automatic rts ?ow control. automatic rts may be used for hardware ?ow control by enabling efr[6]. when auto-rts is selected, an interrupt will be generated when the receive fifo is ?lled to the programmed trigger level and r ts will go to a logic 1 at the next trigger level. r ts will return to a logic 0 when data is unloaded below the next lower trigger level (programmed trigger level 1). the state of this register bit changes with the status of the hardware ?ow control. r ts functions normally when hardware ?ow control is disabled. 0 = automatic rts ?ow control is disabled (normal default condition). 1 = enable automatic rts ?ow control.
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 26 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. [1] when using a software ?ow control the xon/xoff characters cannot be used for data transfer. 5 efr[5] special character detect. logi c 0 = special character detect disabled (normal default condition). logi c 1 = special character detect enabled. the SC16C652 compares each incoming receive character with xoff2 data. if a match exists, the received data will be transferred to fifo and isr[4] will be set to indicate detection of special character. bit-0 in the x-registers corresponds with the lsb bit for the receive character. when this feature is enabled, the normal software ?ow control must be disabled (efr[3-0] must be set to a logic 0). 4 efr[4] enhanced function control bit. the content of ier[7-4], isr[5-4], fcr[5-4], and mcr[7-5] can be modi?ed and latched. after modifying any bits in the enhanced registers, efr[4] can be set to a logic 0 to latch the new values. this feature prevents existing software from altering or overwriting the SC16C652 enhanced functions. logi c 0 = disable/latch enhanced features. ier[7-4], isr[5-4], fcr[5-4], and mcr[7-5] are saved to retain the user settings, then ier[7-4] isr[5-4], fcr[5-4], and mcr[7-5] are set to a logic 0 to be compatible with sc16c554 mode. (normal default condition.) logi c 1 = enables the enhanced functions. when this bit is set to a logic 1, all enhanced features of the SC16C652 are enabled and user settings stored during a reset will be restored. 3-0 efr[3-0] cont-3-0 tx, rx control. logic 0 or cleared is the default condition. combinations of software ?ow control can be selected by programming these bits. see ta b l e 2 4 . table 24: software ?ow control functions [1] cont-3 cont-2 cont-1 cont-0 tx, rx software ?ow controls 0 0 x x no transmit ?ow control 1 0 x x transmit xon1/xoff1 0 1 x x transmit xon2/xoff2 1 1 x x transmit xon1 and xon2/xoff1 and xoff2 x x 0 0 no receive ?ow control x x 1 0 receiver compares xon1/xoff1 x x 0 1 receiver compares xon2/xoff2 1 0 1 1 transmit xon1/xoff1 receiver compares xon1 and xon2, xoff1 and xoff2 0 1 1 1 transmit xon2/xoff2 receiver compares xon1 and xon2/xoff1 and xoff2 1 1 1 1 transmit xon1 and xon2/xoff1 and xoff2 receiver compares xon1 and xon2/xoff1 and xoff2 table 23: enhanced feature register bits description continued bit symbol description
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 27 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 7.11 SC16C652 external reset condition 8. limiting values table 25: reset state for registers register reset state ier ier[7-0] = 0 fcr fcr[7-0] = 0 isr isr[7-1] = 0; isr[0] = 1 lcr lcr[7-0] = 0 mcr mcr[7-0] = 0 lsr lsr[7] = 0; lsr[6-5] = 1; lsr[4-0] = 0 msr msr[7-4] = input signals; msr[3-0] = 0 spr sfr[7-0] = 1 dll dll[7-0] = x dlm dlm[7-0] = x table 26: reset state for outputs output reset state txa, txb logic 1 op2a, op2b logic 1 r tsa, r tsb logic 1 dtra, dtrb logic 1 inta, intb 3-state condition table 27: limiting values in accordance with the absolute maximum rating system (iec 60134). symbol parameter conditions min max unit v cc supply voltage - 7 v v n voltage at any pin gnd - 0.3 v cc + 0.3 v t amb operating temperature - 40 +85 c t stg storage temperature - 65 +150 c p tot(pack) total power dissipation per package - 500 mw
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 28 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 9. static characteristics [1] except x 2 , v ol = 1 v typical. table 28: dc electrical characteristics t amb = - 40 c to +85 c; v cc = 2.5 v, 3.3 v or 5.0 v 10%, unless otherwise speci?ed. symbol parameter conditions 2.5 v 3.3 v 5.0 v unit min max min max min max v il(ck) low-level clock input voltage - 0.3 0.45 - 0.3 0.6 - 0.5 0.6 v v ih(ck) high-level clock input voltage 1.8 v cc 2.4 v cc 3.0 v cc v v il low-level input voltage (except x1 clock) - 0.3 0.65 - 0.3 0.8 - 0.5 0.8 v v ih high-level input voltage (except x1 clock) 1.6 - 2.0 - 2.2 - v v ol low-level output voltage on all outputs [1] i ol =5ma (databus) -----0.4v i ol =4ma (other outputs) ---0.4--v i ol =2ma (databus) -0.4----v i ol = 1.6 ma (other outputs) -0.4----v v oh high-level output voltage i oh = - 5ma (databus) ----2.4-v i oh = - 1ma (other outputs) --2.0---v i oh = - 800 m a (data bus) 1.85 -----v i oh = - 400 m a (other outputs) 1.85 -----v i lil low-level input leakage current - 10 - 10 - 10 m a i cl clock leakage - 30 - 30 - 30 m a i cc supply current f = 5 mhz - 3.5 - 4.5 - 4.5 ma c i input capacitance - 5 - 5 - 5 pf
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 29 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 10. dynamic characteristics [1] applies to external clock, crystal oscillator max 24 mhz. [2] = 333 ns (for baudrate max = 1.5 mbits/s) = 1 m s (for baudrate max = 460.8 kbits/s) = 4 m s (for baudrate max = 115.2 kbits/s) [3] when in both dma mode 0 and fifo enable mode, the write cycle delay should be larger than one x 1 , clock cycle. table 29: ac electrical characteristics t amb = - 40 c to +85 c; v cc = 2.5 v, 3.3 v or 5.0 v 10%, unless otherwise speci?ed. symbol parameter conditions 2.5 v 3.3 v 5.0 v unit min max min max min max t 1w , t 2w clock pulse duration 10 - 6 - 6 - ns t 3w oscillator/clock frequency [1] - 48 - 80 80 mhz t 6s address set-up time 0 - 0 - 0 - ns t 6h address hold time 0 - 0 - 0 - ns t 7d ior delay from chip select 10 - 10 - 10 - ns t 7w ior strobe width 25 pf load 77 - 26 - 23 - ns t 7h chip select hold time from ior 0 - 0 - 0 - ns t 9d read cycle delay 25 pf load 20 - 20 - 20 - ns t 12d delay from ior to data 25 pf load - 77 - 26 - 23 ns t 12h data disable time 25 pf load - 15 - 15 - 15 ns t 13d io w delay from chip select 10 - 10 - 10 - ns t 13w io w strobe width 20 - [2] 20 - [2] 15 - [2] ns t 13h chip select hold time from io w0-0-0-ns t 15d write cycle delay [3] 25 - 25 - 20 - ns t 16s data set-up time 20 - 20 - 15 - ns t 16h data hold time 15 - 5 - 5 - ns t 17d delay from io w to output 25 pf load - 100 - 33 - 29 ns t 18d delay to set interrupt from modem input 25 pf load - 100 - 24 - 23 ns t 19d delay to reset interrupt from ior 25 pf load - 100 - 24 - 23 ns t 20d delay from stop to set interrupt - 1 - 1 - 1 r clk t 21d delay from ior to reset interrupt 25 pf load - 100 - 29 - 28 ns t 22d delay from start to set interrupt - 100 - 45 - 40 ns t 23d delay from io w to transmit start 8 24 8 24 8 24 r clk t 24d delay from io w to reset interrupt - 100 - 45 - 40 ns t 25d delay from stop to set rxrd y-1-1-1r clk t 26d delay from ior to reset rxrd y - 100 - 45 - 40 ns t 27d delay from io w to set txrd y - 100 - 45 - 40 ns t 28d delay from start to reset txrd y-8-8-8r clk t reset reset pulse width 200 - 40 - 40 - ns n baud rate divisor 1 2 16 - 11 2 16 - 11 2 16 - 1r clk iowstrobe max 1 2 baudrate max () -------------------------------------- =
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 30 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 10.1 timing diagrams fig 5. general write timing. data active active valid address 002aaa109 t 6s t 13h t 13d t 13w t 15d t 16s t 16h a0Ca2 csx iow d0Cd7 t 6h fig 6. general read timing. data active active valid address 002aaa110 t 6s t 7h t 7d t 7w t 9d t 12d t 12h a0Ca2 csx ior d0Cd7 t 6h
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 31 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. fig 7. modem input/output timing. t 17d active iow change of state change of state rts dtr cd cts dsr change of state change of state change of state active active active t 18d t 18d int active active active ior ri t 19d 002aaa352 t 18d fig 8. external clock timing. t 2w external clock 002aaa112 t 1w t 3w
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 32 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. fig 9. receive timing. d0 d1 d2 d3 d4 d5 d6 d7 active active 16 baud rate clock 002aaa113 t 21d next data start bit stop bit parity bit start bit t 20d rx int ior data bits (5-8) 5 data bits 6 data bits 7 data bits fig 10. receive ready timing in non-fifo mode. d0 d1 d2 d3 d4 d5 d6 d7 active data ready active 002aaa114 t 26d next data start bit stop bit parity bit start bit t 25d rx rxrdy ior data bits (5C8)
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 33 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. fig 11. receive ready timing in fifo mode. d0 d1 d2 d3 d4 d5 d6 d7 active data ready active 002aaa115 t 26d stop bit parity bit start bit t 25d rx rxrdy ior data bits (5C8) first byte that reaches the trigger level fig 12. transmit timing. d0 d1 d2 d3 d4 d5 d6 d7 active tx ready active 16 baud rate clock 002aaa116 t 24d next data start bit stop bit parity bit start bit t 22d tx int iow data bits (5C8) 5 data bits 6 data bits 7 data bits active t 23d
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 34 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. fig 13. transmit ready timing in non-fifo mode. d0 d1 d2 d3 d4 d5 d6 d7 transmitter not ready 002aaa117 next data start bit stop bit parity bit start bit t 27d tx txrdy iow data bits (5-8) active d0Cd7 byte #1 active transmitter ready
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 35 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. fig 14. transmit ready timing in fifo mode (dma mode 1). d0 d1 d2 d3 d4 d5 d6 d7 fifo full 002aaa365 stop bit parity bit start bit t 27d tx txrdy iow data bits (5-8) active d0Cd7 byte #32 5 data bits 6 data bits 7 data bits t 28d
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 36 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11. package outline fig 15. lqfp48 package outline (sot313-2). unit a max. a 1 a 2 a 3 b p ce (1) eh e ll p z y w v q references outline version european projection issue date iec jedec jeita mm 1.6 0.20 0.05 1.45 1.35 0.25 0.27 0.17 0.18 0.12 7.1 6.9 0.5 9.15 8.85 0.95 0.55 7 0 o o 0.12 0.1 0.2 1 dimensions (mm are the original dimensions) note 1. plastic or metal protrusions of 0.25 mm maximum per side are not included. 0.75 0.45 sot313-2 ms-026 136e05 00-01-19 03-02-25 d (1) (1) (1) 7.1 6.9 h d 9.15 8.85 e z 0.95 0.55 d b p e e b 12 d h b p e h v m b d z d a z e e v m a 1 48 37 36 25 24 13 q a 1 a l p detail x l (a ) 3 a 2 x y c w m w m 0 2.5 5 mm scale pin 1 index lqfp48: plastic low profile quad flat package; 48 leads; body 7 x 7 x 1.4 mm sot313-2
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 37 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. 12. soldering 12.1 introduction to soldering surface mount packages this text gives a very brief insight to a complex technology. a more in-depth account of soldering ics can be found in our data handbook ic26; integrated circuit packages (document order number 9398 652 90011). there is no soldering method that is ideal for all ic packages. wave soldering can still be used for certain surface mount ics, but it is not suitable for ?ne pitch smds. in these situations re?ow soldering is recommended. in these situations re?ow soldering is recommended. 12.2 re?ow soldering re?ow soldering requires solder paste (a suspension of ?ne solder particles, ?ux and binding agent) to be applied to the printed-circuit board by screen printing, stencilling or pressure-syringe dispensing before package placement. driven by legislation and environmental forces the worldwide use of lead-free solder pastes is increasing. several methods exist for re?owing; for example, convection or convection/infrared heating in a conveyor type oven. throughput times (preheating, soldering and cooling) vary between 100 and 200 seconds depending on heating method. typical re?ow peak temperatures range from 215 to 270 c depending on solder paste material. the top-surface temperature of the packages should preferably be kept: ? below 220 c (snpb process) or below 245 c (pb-free process) C for all bga and ssop-t packages C for packages with a thickness 3 2.5 mm C for packages with a thickness < 2.5 mm and a volume 3 350 mm 3 so called thick/large packages. ? below 235 c (snpb process) or below 260 c (pb-free process) for packages with a thickness < 2.5 mm and a volume < 350 mm 3 so called small/thin packages. moisture sensitivity precautions, as indicated on packing, must be respected at all times. 12.3 wave soldering conventional single wave soldering is not recommended for surface mount devices (smds) or printed-circuit boards with a high component density, as solder bridging and non-wetting can present major problems. to overcome these problems the double-wave soldering method was speci?cally developed. if wave soldering is used the following conditions must be observed for optimal results: ? use a double-wave soldering method comprising a turbulent wave with high upward pressure followed by a smooth laminar wave.
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 38 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. ? for packages with leads on two sides and a pitch (e): C larger than or equal to 1.27 mm, the footprint longitudinal axis is preferred to be parallel to the transport direction of the printed-circuit board; C smaller than 1.27 mm, the footprint longitudinal axis must be parallel to the transport direction of the printed-circuit board. the footprint must incorporate solder thieves at the downstream end. ? for packages with leads on four sides, the footprint must be placed at a 45 angle to the transport direction of the printed-circuit board. the footprint must incorporate solder thieves downstream and at the side corners. during placement and before soldering, the package must be ?xed with a droplet of adhesive. the adhesive can be applied by screen printing, pin transfer or syringe dispensing. the package can be soldered after the adhesive is cured. typical dwell time of the leads in the wave ranges from 3 to 4 seconds at 250 c or 265 c, depending on solder material applied, snpb or pb-free respectively. a mildly-activated ?ux will eliminate the need for removal of corrosive residues in most applications. 12.4 manual soldering fix the component by ?rst soldering two diagonally-opposite end leads. use a low voltage (24 v or less) soldering iron applied to the ?at part of the lead. contact time must be limited to 10 seconds at up to 300 c. when using a dedicated tool, all other leads can be soldered in one operation within 2 to 5 seconds between 270 and 320 c. 12.5 package related soldering information [1] for more detailed information on the bga packages refer to the (lf)bga application note (an01026); order a copy from your philips semiconductors sales of?ce. [2] all surface mount (smd) packages are moisture sensitive. depending upon the moisture content, the maximum temperature (with respect to time) and body size of the package, there is a risk that internal or external package cracks may occur due to vaporization of the moisture in them (the so called popcorn effect). for details, refer to the drypack information in the data handbook ic26; integrated circuit packages; section: packing methods . table 30: suitability of surface mount ic packages for wave and re?ow soldering methods package [1] soldering method wave re?ow [2] bga, lbga, lfbga, sqfp, ssop-t [3] , tfbga, vfbga not suitable suitable dhvqfn, hbcc, hbga, hlqfp, hsqfp, hsop, htqfp, htssop, hvqfn, hvson, sms not suitable [4] suitable plcc [5] , so, soj suitable suitable lqfp, qfp, tqfp not recommended [5][6] suitable ssop, tssop, vso, vssop not recommended [7] suitable
philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos product data rev. 04 20 june 2003 39 of 41 9397 750 11634 ? koninklijke philips electronics n.v. 2003. all rights reserved. [3] these transparent plastic packages are extremely sensitive to re?ow soldering conditions and must on no account be processed through more than one soldering cycle or subjected to infrared re?ow soldering with peak temperature exceeding 217 c 10 c measured in the atmosphere of the re?ow oven. the package body peak temperature must be kept as low as possible. [4] these packages are not suitable for wave soldering. on versions with the heatsink on the bottom side, the solder cannot penetrate between the printed-circuit board and the heatsink. on versions with the heatsink on the top side, the solder might be deposited on the heatsink surface. [5] if wave soldering is considered, then the package must be placed at a 45 angle to the solder wave direction. the package footprint must incorporate solder thieves downstream and at the side corners. [6] wave soldering is suitable for lqfp, qfp and tqfp packages with a pitch (e) larger than 0.8 mm; it is de?nitely not suitable for packages with a pitch (e) equal to or smaller than 0.65 mm. [7] wave soldering is suitable for ssop and tssop packages with a pitch (e) equal to or larger than 0.65 mm; it is de?nitely not suitable for packages with a pitch (e) equal to or smaller than 0.5 mm. 13. revision history table 31: revision history rev date cpcn description 04 20030620 - product data (9397 750 11634); ecn 853-2382 30032 of 16 june 2003. modi?cations: ? figure 3 crystal oscillator connection. on page 11 : changed capacitors values and added connection with resistor. 03 20030314 - product data (9397 750 11195); ecn 853-2382 29621 of 07 march 2003. 02 20021217 - product data (9397 750 10816); ecn 853-2382 29261 of 06 december 2002. 01 20020916 - product data (9397 750 10335); ecn 853-2382 28948 of 16 september 2002.
9397 750 11634 philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos ? koninklijke philips electronics n.v. 2003. all rights reserved. product data rev. 04 20 june 2003 40 of 41 contact information for additional information, please visit http://www.semiconductors.philips.com . for sales of?ce addresses, send e-mail to: sales.addresses@www.semiconductors.philips.com . fax: +31 40 27 24825 14. data sheet status [1] please consult the most recently issued data sheet before initiating or completing a design. [2] the product status of the device(s) described in this data sheet may have changed since this data sheet was published. the l atest information is available on the internet at url http://www.semiconductors.philips.com. [3] for data sheets describing multiple type numbers, the highest-level product status determines the data sheet status. 15. de?nitions short-form speci?cation the data in a short-form speci?cation is extracted from a full data sheet with the same type number and title. for detailed information see the relevant data sheet or data handbook. limiting values de?nition limiting values given are in accordance with the absolute maximum rating system (iec 60134). stress above one or more of the limiting values may cause permanent damage to the device. these are stress ratings only and operation of the device at these or at any other conditions above those given in the characteristics sections of the speci?cation is not implied. exposure to limiting values for extended periods may affect device reliability. application information applications that are described herein for any of these products are for illustrative purposes only. philips semiconductors make no representation or warranty that such applications will be suitable for the speci?ed use without further testing or modi?cation. 16. disclaimers life support these products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. philips semiconductors customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify philips semiconductors for any damages resulting from such application. right to make changes philips semiconductors reserves the right to make changes in the products - including circuits, standard cells, and/or software - described or contained herein in order to improve design and/or performance. when the product is in full production (status production), relevant changes will be communicated via a customer product/process change noti?cation (cpcn). philips semiconductors assumes no responsibility or liability for the use of any of these products, conveys no licence or title under any patent, copyright, or mask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise speci?ed. level data sheet status [1] product status [2][3] de?nition i objective data development this data sheet contains data from the objective speci?cation for product development. philips semiconductors reserves the right to change the speci?cation in any manner without notice. ii preliminary data quali?cation this data sheet contains data from the preliminary speci?cation. supplementary data will be published at a later date. philips semiconductors reserves the right to change the speci?cation without notice, in order to improve the design and supply the best possible product. iii product data production this data sheet contains data from the product speci?cation. philips semiconductors reserves the right to make changes at any time in order to improve the design, manufacturing and supply. relevant changes will be communicated via a customer product/process change noti?cation (cpcn).
? koninklijke philips electronics n.v. 2003. printed in the u.s.a all rights are reserved. reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. the information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. no liability will be accepted by the publisher for any consequence of its use. publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights. date of release: 20 june 2003 document order number: 9397 750 11634 contents philips semiconductors SC16C652 dual uart with 32 bytes of transmit and receive fifos 1 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3 ordering information . . . . . . . . . . . . . . . . . . . . . 2 4 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 5 pinning information . . . . . . . . . . . . . . . . . . . . . . 4 5.1 pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 5.2 pin description . . . . . . . . . . . . . . . . . . . . . . . . . 4 6 functional description . . . . . . . . . . . . . . . . . . . 7 6.1 uart a-b functions . . . . . . . . . . . . . . . . . . . . . 7 6.2 internal registers. . . . . . . . . . . . . . . . . . . . . . . . 8 6.3 fifo operation . . . . . . . . . . . . . . . . . . . . . . . . . 8 6.4 hardware ?ow control . . . . . . . . . . . . . . . . . . . . 9 6.5 software ?ow control . . . . . . . . . . . . . . . . . . . . 9 6.6 special feature software ?ow control . . . . . . . 10 6.7 hardware/software and time-out interrupts. . . 10 6.8 programmable baud rate generator . . . . . . . . 11 6.9 dma operation . . . . . . . . . . . . . . . . . . . . . . . . 12 6.10 loop-back mode . . . . . . . . . . . . . . . . . . . . . . . 12 7 register descriptions . . . . . . . . . . . . . . . . . . . 14 7.1 transmit (thr) and receive (rhr) holding registers . . . . . . . . . . . . . . . . . . . . . 15 7.2 interrupt enable register (ier) . . . . . . . . . . . 15 7.2.1 ier versus transmit/receive fifo interrupt mode operation . . . . . . . . . . . . . . . . . . . . . . . 16 7.2.2 ier versus receive/transmit fifo polled mode operation . . . . . . . . . . . . . . . . . . . . . . . 17 7.3 fifo control register (fcr) . . . . . . . . . . . . . 17 7.3.1 dma mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 7.3.2 fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 7.4 interrupt status register (isr) . . . . . . . . . . . . 20 7.5 line control register (lcr) . . . . . . . . . . . . . . 21 7.6 modem control register (mcr) . . . . . . . . . . . 22 7.7 line status register (lsr) . . . . . . . . . . . . . . . 23 7.8 modem status register (msr). . . . . . . . . . . . 24 7.9 scratchpad register (spr) . . . . . . . . . . . . . . 25 7.10 enhanced feature register (efr) . . . . . . . . . 25 7.11 SC16C652 external reset condition . . . . . . . . 27 8 limiting values . . . . . . . . . . . . . . . . . . . . . . . . 27 9 static characteristics . . . . . . . . . . . . . . . . . . . 28 10 dynamic characteristics . . . . . . . . . . . . . . . . . 29 10.1 timing diagrams. . . . . . . . . . . . . . . . . . . . . . . 30 11 package outline . . . . . . . . . . . . . . . . . . . . . . . . 36 12 soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 12.1 introduction to soldering surface mount packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 12.2 re?ow soldering. . . . . . . . . . . . . . . . . . . . . . . 37 12.3 wave soldering. . . . . . . . . . . . . . . . . . . . . . . . 37 12.4 manual soldering . . . . . . . . . . . . . . . . . . . . . . 38 12.5 package related soldering information . . . . . . 38 13 revision history . . . . . . . . . . . . . . . . . . . . . . . 39 14 data sheet status. . . . . . . . . . . . . . . . . . . . . . . 40 15 de?nitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 16 disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . 40


▲Up To Search▲   

 
Price & Availability of SC16C652

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X